﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Meraz.Core.Data;

namespace Meraz.Core.Repositories
{
    public abstract class EFRepositoryBase<TEntity, TID> : RepositoryBase<TEntity, TID>
    {
        private IMerazContext _context;
        public EFRepositoryBase() { _context = MerazContext.Instance; }
        public EFRepositoryBase(IMerazContext context) { _context = context; }
        public override IMerazContext context { get { return _context; } }
    }
}
